<link rel="stylesheet" href="../css/body.css" type="text/css" />
<script type="text/javascript" src="../js/view.js"></script>
<script type="text/javascript">
Ext.onReady(function(){
		
	view.view_content('content_promotion','tbcontent_promotion');
	$('#del_content_promotion').click(function(){
		var ids= common.getChecked('content_promotion');
		if(ids == ""){
			alert("Chọn nội dung cần xóa");
		}else{
			if(confirm("Bạn chắc chắn muốn xóa?")){
				view.delete_content('4',ids,'tbcontent_promotion');
			}
		}
	});
});
</script>	
 <h2>CONTENT&nbsp;PROMOTION</h2>
	
<div id="wrapper">
	<form id="form" method="POST" action="">
		<fieldset>
			<legend>Content&nbsp;Table</legend>
			<div id='tbcontent_promotion'></div>
		</fieldset>
		<div class="btn-submit">
				<input type="button" id="del_content_promotion" value="Delete"  />
		</div>
	</form>
</div>